package com.flower.admin.system.domain;

import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @author 小懒虫
 * @date 2018/8/14
 */
@Getter
@Setter
public class User implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String salt;
    private String nickname;
    private String picture;
    private String sex;
    private String phone;
    private String email;
    private Date createDate;
    private Date updateDate;
    private String remark;


    private Set<Role> roles = new HashSet<>(0);
}
